package com.obas.model.business;

import java.util.Date;

import com.ease.model.NamespaceModel;

public class DpiSession extends NamespaceModel {

	/**
	 * 
	 */
	private static final long serialVersionUID = -4051117164345400289L;

	private Boolean enabled;
	/** 登录名或IP */
	private String subscriberId;
	/** 用户IP(4-0A584264 ) */
	private String clientIp;
	/** 服务器IP(4-0A584264 ) */
	private String serverIp;
	/** 结束时间 */
	private long endTime;
	/** HOST(暂时留空) */
	private String host;
	/** 传输协议(4:表示TCP， 5:标识UDP) */
	private double protocolType;
	/** 应用ID */
	private short appId;
	/** 上行流量，单位为KB */
	private double outStream;
	/** 下行流量，单位为KB */
	private double inStream;
	/** 网络时延(用户-观测点) 单位为ms int(32) */
	private double delayCtd;
	/** 网络时延(观测点-用户) 单位为ms int(32) */
	private double delayDts;
	/** 上行报文数 */
	private double outStreamPktCnt;
	/** 下行报文数 */
	private double inStreamPktCnt;
	/** 上行重传报文数 */
	private double outRetPacketCnt;
	/** 下行重传报文数 */
	private double inRetPacketCnt;
	/** 上行误码报文数(暂时留空) */
	private double outMissCodePacketCnt;
	/** 下行误码报文数(暂时留空) */
	private double inMissCodePacketCnt;
	/** TCP零窗口 */
	private double zeroWindowCount;
	/** IP分析包数(暂时留空) */
	private double ipAnalyzePacketCnt;
	/** TCP连接失败 */
	private double tcpLinkFailCount;
	/** 时延抖动 */
	private double delayJitter;

	//
	private Date endTimeDate;

	private String areaCode;

	private Date batchTimestamp;

	/**
	 * @return the enabled
	 */
	public Boolean getEnabled() {
		return enabled;
	}

	/**
	 * @param enabled
	 *            the enabled to set
	 */
	public void setEnabled(Boolean enabled) {
		this.enabled = enabled;
	}

	/**
	 * @return the subscriberId
	 */
	public String getSubscriberId() {
		return subscriberId;
	}

	/**
	 * @param subscriberId
	 *            the subscriberId to set
	 */
	public void setSubscriberId(String subscriberId) {
		this.subscriberId = subscriberId;
	}

	/**
	 * @return the clientIp
	 */
	public String getClientIp() {
		return clientIp;
	}

	/**
	 * @param clientIp
	 *            the clientIp to set
	 */
	public void setClientIp(String clientIp) {
		this.clientIp = clientIp;
	}

	/**
	 * @return the serverIp
	 */
	public String getServerIp() {
		return serverIp;
	}

	/**
	 * @param serverIp
	 *            the serverIp to set
	 */
	public void setServerIp(String serverIp) {
		this.serverIp = serverIp;
	}

	/**
	 * @return the endTime
	 */
	public long getEndTime() {
		return endTime;
	}

	/**
	 * @param endTime
	 *            the endTime to set
	 */
	public void setEndTime(long endTime) {
		this.endTime = endTime;
	}

	/**
	 * @return the host
	 */
	public String getHost() {
		return host;
	}

	/**
	 * @param host
	 *            the host to set
	 */
	public void setHost(String host) {
		this.host = host;
	}

	/**
	 * @return the protocolType
	 */
	public double getProtocolType() {
		return protocolType;
	}

	/**
	 * @param protocolType
	 *            the protocolType to set
	 */
	public void setProtocolType(double protocolType) {
		this.protocolType = protocolType;
	}

	/**
	 * @return the appId
	 */
	public short getAppId() {
		return appId;
	}

	/**
	 * @param appId
	 *            the appId to set
	 */
	public void setAppId(short appId) {
		this.appId = appId;
	}

	/**
	 * @return the outStream
	 */
	public double getOutStream() {
		return outStream;
	}

	/**
	 * @param outStream
	 *            the outStream to set
	 */
	public void setOutStream(double outStream) {
		this.outStream = outStream;
	}

	/**
	 * @return the inStream
	 */
	public double getInStream() {
		return inStream;
	}

	/**
	 * @param inStream
	 *            the inStream to set
	 */
	public void setInStream(double inStream) {
		this.inStream = inStream;
	}

	/**
	 * @return the delayCtd
	 */
	public double getDelayCtd() {
		return delayCtd;
	}

	/**
	 * @param delayCtd
	 *            the delayCtd to set
	 */
	public void setDelayCtd(double delayCtd) {
		this.delayCtd = delayCtd;
	}

	/**
	 * @return the delayDts
	 */
	public double getDelayDts() {
		return delayDts;
	}

	/**
	 * @param delayDts
	 *            the delayDts to set
	 */
	public void setDelayDts(double delayDts) {
		this.delayDts = delayDts;
	}

	/**
	 * @return the outStreamPktCnt
	 */
	public double getOutStreamPktCnt() {
		return outStreamPktCnt;
	}

	/**
	 * @param outStreamPktCnt
	 *            the outStreamPktCnt to set
	 */
	public void setOutStreamPktCnt(double outStreamPktCnt) {
		this.outStreamPktCnt = outStreamPktCnt;
	}

	/**
	 * @return the inStreamPktCnt
	 */
	public double getInStreamPktCnt() {
		return inStreamPktCnt;
	}

	/**
	 * @param inStreamPktCnt
	 *            the inStreamPktCnt to set
	 */
	public void setInStreamPktCnt(double inStreamPktCnt) {
		this.inStreamPktCnt = inStreamPktCnt;
	}

	/**
	 * @return the outRetPacketCnt
	 */
	public double getOutRetPacketCnt() {
		return outRetPacketCnt;
	}

	/**
	 * @param outRetPacketCnt
	 *            the outRetPacketCnt to set
	 */
	public void setOutRetPacketCnt(double outRetPacketCnt) {
		this.outRetPacketCnt = outRetPacketCnt;
	}

	/**
	 * @return the inRetPacketCnt
	 */
	public double getInRetPacketCnt() {
		return inRetPacketCnt;
	}

	/**
	 * @param inRetPacketCnt
	 *            the inRetPacketCnt to set
	 */
	public void setInRetPacketCnt(double inRetPacketCnt) {
		this.inRetPacketCnt = inRetPacketCnt;
	}

	/**
	 * @return the outMissCodePacketCnt
	 */
	public double getOutMissCodePacketCnt() {
		return outMissCodePacketCnt;
	}

	/**
	 * @param outMissCodePacketCnt
	 *            the outMissCodePacketCnt to set
	 */
	public void setOutMissCodePacketCnt(double outMissCodePacketCnt) {
		this.outMissCodePacketCnt = outMissCodePacketCnt;
	}

	/**
	 * @return the inMissCodePacketCnt
	 */
	public double getInMissCodePacketCnt() {
		return inMissCodePacketCnt;
	}

	/**
	 * @param inMissCodePacketCnt
	 *            the inMissCodePacketCnt to set
	 */
	public void setInMissCodePacketCnt(double inMissCodePacketCnt) {
		this.inMissCodePacketCnt = inMissCodePacketCnt;
	}

	/**
	 * @return the zeroWindowCount
	 */
	public double getZeroWindowCount() {
		return zeroWindowCount;
	}

	/**
	 * @param zeroWindowCount
	 *            the zeroWindowCount to set
	 */
	public void setZeroWindowCount(double zeroWindowCount) {
		this.zeroWindowCount = zeroWindowCount;
	}

	/**
	 * @return the ipAnalyzePacketCnt
	 */
	public double getIpAnalyzePacketCnt() {
		return ipAnalyzePacketCnt;
	}

	/**
	 * @param ipAnalyzePacketCnt
	 *            the ipAnalyzePacketCnt to set
	 */
	public void setIpAnalyzePacketCnt(double ipAnalyzePacketCnt) {
		this.ipAnalyzePacketCnt = ipAnalyzePacketCnt;
	}

	/**
	 * @return the tcpLinkFailCount
	 */
	public double getTcpLinkFailCount() {
		return tcpLinkFailCount;
	}

	/**
	 * @param tcpLinkFailCount
	 *            the tcpLinkFailCount to set
	 */
	public void setTcpLinkFailCount(double tcpLinkFailCount) {
		this.tcpLinkFailCount = tcpLinkFailCount;
	}

	/**
	 * @return the delayJitter
	 */
	public double getDelayJitter() {
		return delayJitter;
	}

	/**
	 * @param delayJitter
	 *            the delayJitter to set
	 */
	public void setDelayJitter(double delayJitter) {
		this.delayJitter = delayJitter;
	}

	/**
	 * @return the endTimeDate
	 */
	public Date getEndTimeDate() {
		return endTimeDate;
	}

	/**
	 * @param endTimeDate
	 *            the endTimeDate to set
	 */
	public void setEndTimeDate(Date endTimeDate) {
		this.endTimeDate = endTimeDate;
	}

	/**
	 * @return the areaCode
	 */
	public String getAreaNo() {
		return areaCode;
	}

	/**
	 * @param areaCode
	 *            the areaCode to set
	 */
	public void setAreaNo(String areaCode) {
		this.areaCode = areaCode;
	}

	/**
	 * @return the batchTimestamp
	 */
	public Date getBatchTimestamp() {
		return batchTimestamp;
	}

	/**
	 * @param batchTimestamp
	 *            the batchTimestamp to set
	 */
	public void setBatchTimestamp(Date batchTimestamp) {
		this.batchTimestamp = batchTimestamp;
	}

}
